package com.luminary.demo.user.provider;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.luminary.component.feign.tracker.FeignTracker;
import com.luminary.component.trace.annotation.Trace;
import com.luminary.demo.user.meta.UserApiConstants;
import com.luminary.demo.user.model.po.User;

public interface UserProvider {

	@Trace(FeignTracker.class)
	@GetMapping(UserApiConstants.GET_USER_API)
	public User getUser(@PathVariable("username") String username) throws Exception;
	
}
